package com.qianfeng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author chenzetao
 * @Date 2021/4/26
 */
@Controller
public class IndexController {

    /**
     *  访问home.html页面
     * @return
     */
    @RequestMapping("/tohome")
    public String toHome(){
        return "home";
    }
}
